package com.yj.web.WeChat.api;

import com.yj.web.WeChat.Message.WxXmlMessage;
import com.yj.web.util.Session.WxSessionManager;
import com.yj.web.util.WxErrorException;

import java.util.Map;

/**
 * Created by yanlinyang on 2017/9/10.
 */
public interface WxMessageInterceptor {
    public boolean intercept(WxXmlMessage wxMessage,
                             Map<String, Object> context,
                             WxService wxMpService,
                             WxSessionManager sessionManager) throws WxErrorException;
}
